package com.css.zfzx.fxpg.modules.preestimate.workspace.viewobjects;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.handler.inter.IExcelDataModel;
import cn.afterturn.easypoi.handler.inter.IExcelModel;
import lombok.Data;
import javax.persistence.*;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;

/**
 * @author andy
 * @date 2020-11-19
 */
@Data
public class FxPreestimateWorkspaceVO implements Serializable, IExcelDataModel, IExcelModel {

    /**
     * 是否有效,0:无效,1:有效
     */
    private String isValid;
    /**
     * 面积
     */
    @NotNull(message = "缺失")
    @Excel(name = "面积", width = 15)
    private String shapeArea;
    /**
     * 总报告
     */
    @NotNull(message = "缺失")
    @Excel(name = "总报告", width = 40)
    private String allreport;
    /**
     * 创建人
     */
    private String createUser;
    /**
     * 工作区名称
     */
    @NotNull(message = "缺失")
    @Excel(name = "工作区名称", width = 15)
    private String name;
    /**
     * 长度
     */
    @NotNull(message = "缺失")
    @Excel(name = "长度", width = 15)
    private Double shapeLeng;
    /**
     * 创建时间
     */
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date createTime;
    /**
     * 修改人
     */
    private String updateUser;
    /**
     * （暂空）
     */
    //@NotNull(message = "缺失")
    @Excel(name = "（暂空）", width = 15)
    private String csdzzh;
    /**
     * 分区标识
     */
    private String partitionFlag;
    /**
     * 应急要点处置
     */
    @NotNull(message = "缺失")
    @Excel(name = "应急要点处置", width = 40)
    private String yjczyd;
    /**
     * 年代
     */
    @NotNull(message = "缺失")
    @Excel(name = "年代", width = 15)
    private String time;
    /**
     * 修改时间
     */
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date updateTime;
    /**
     * 经纬度坐标
     */
    @NotNull(message = "缺失")
    @Excel(name = "经纬度坐标", width = 40)
    private String coordinates;
    /**
     * 行政区划组合编码+探槽码
     */
    private String objectCode;
    /**
     * 主键ID
     */
    private String id;
    /**
     * OBJECTID
     */
    @NotNull(message = "缺失")
    @Excel(name = "OBJECTID", width = 15)
    private Integer objectid;
    /**
     * 危险区概况
     */
    @NotNull(message = "缺失")
    @Excel(name = "危险区概况", width = 40)
    private String wxqgk;

    private String timeName;

    private Integer rowNum;
    private String errorMsg;
}